package pl.edu.uj.tcs.blef.utils;

public class Pair extends AbstractBet {

	private Card card;
	
	public Pair(Card card){
		this.card = card;
	}
	
	@Override
	public String getCode() {
		return "PAIR " + card.getCode();
	}

	@Override
	public String getName() {
		return "PAIR OF " + card.getName()+"S";
	}

	@Override
	public int getPriority() {
		return card.getPriority() + 10;
	}

	public Card getCard(){
		return this.card;
	}
}
